<script setup>
import { ref } from 'vue'

defineProps({
  msg: String,
})

const count = ref(3)
</script>

<template>
  <h1>{{ msg }}</h1>

  <el-button type="primary"
             @click="count++"
             disabled>count is {{ count }}</el-button>

  <!-- //<el-button type="button"
             @click="count++">count is {{ count }}</button> -->

  <p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
